export declare const removePreviewPrefix: (t: string) => string;
export declare const getPreviewUrl: (request: any, queryParams: any) => string;
export declare const buildHTMLResponse: (content: any) => string;
export declare const addRefreshScript: (html: string) => string;
export declare function buildDevFileHashTable(src: string, dest: string, filePaths: string[]): {};
export declare type ThemePreviewOptions = {
    filePaths: string[];
    startProgressBar: (number: any) => {
        onAttemptCallback: Function;
        onSuccessCallback: Function;
        onFirstErrorCallback: Function;
        onRetryCallback: Function;
        onFinalErrorCallback: Function;
        onFinishCallback: Function;
    };
    resetSession: boolean;
    dest: string;
};
export declare function initiatePreviewSession(authedPortalId: number | null, absoluteWebRoot: string, themePreviewOptions: ThemePreviewOptions): Promise<{
    localPreviewToken: any;
    tokenStatus: any;
}>;
